package name.nano.client.dto;


import java.util.ArrayList;

import name.nano.client.enums.GameMode;
import name.nano.client.utils.Coordinate;

import com.google.gwt.user.client.rpc.IsSerializable;


public class PlayerTactic implements IsSerializable{
	
	private int playerNum;
	private Coordinate startLocation;
	private ArrayList<LocationInTime> moves;
	private Integer opponentNumber;
	private GameMode playerMode;
	public String color;
	
	public PlayerTactic(){
		
	}
	public PlayerTactic(int playerNum, Coordinate startLocation,Integer opponent,GameMode playerMode,String color) {
		super();
		this.playerNum = playerNum;
		this.startLocation=startLocation;
		this.opponentNumber=opponent;
		this.playerMode=playerMode;
		this.color=color;
	}
	public PlayerTactic(PlayerTactic playerTactic) {
		this.opponentNumber=playerTactic.getOpponentNumber();
		this.playerNum=playerTactic.getPlayerNum();
		this.startLocation=playerTactic.getStartLocation();
		this.color=playerTactic.getColor();
	}
	public String getColor() {
		return this.color;
	}
	public ArrayList<LocationInTime> getMoves() {
		return moves;
	}
	
	public void setMoves(ArrayList<LocationInTime> moves) {
		this.moves = moves;
	}
	public int getPlayerNum() {
		return playerNum;
	}
	public void setPlayerNum(int playerNum) {
		this.playerNum = playerNum;
	}
	public Coordinate getStartLocation() {
		return startLocation;
	}
	public void setStartLocation(Coordinate startLocation) {
		this.startLocation = startLocation;
	}
	public Integer getOpponentNumber() {
		return opponentNumber;
	}
	public void setOpponentNumber(Integer opponentNumber) {
		this.opponentNumber = opponentNumber;
	}
	public GameMode getPlayerMode() {
		return playerMode;
	}
	public void setPlayerMode(GameMode playerMode) {
		this.playerMode = playerMode;
	}


}
